#单例模式
# class Singleton:
#     instance = None
#     def __new__(cls, *args, **kwargs):
#         if not cls.instance :
#             cls.instance = object.__new__(cls)
#         return cls.instance
#
# obj1 = Singleton()
# obj2 = Singleton()
# print(id(obj1),id(obj2))

import logging


